<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/managerLogin.css" rel="stylesheet" type="text/css">
<title>后台管理员登录页面</title>
<script type="text/javascript" src="jquery/jquery-1.7.2.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		
		$("#sub").click(function(){
			
			if($("#username").val() == "" || $("#username").val() == null){
				
				alert("请输入用户名！！！");
			}else{
				
				$("#password").focus(function(){
					
					if($("#password").val() == "" || $("#password").val() == null){
						
						alert("请输入密码");
					}
				});
			}
			
		});
	});
</script>
</head>
<body style="background-image:url(${pageContext.request.contextPath}/images/admin_login_bg.gif); margin:0 auto; width:500px;">

<div style="background-image:url(${pageContext.request.contextPath}/images/admin_login.png); width:500px; height:200px; margin-top:130px;">
  <form method="post" action="${pageContext.request.contextPath}/manager/managerLogin.action">
    <table width="500" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="250">&nbsp;</td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td height="40"><div align="right" class="STYLE1">用户名：</div></td>
        <td height="40" colspan="2"><input type="text" name="username" id="username" style="height:25px; width:200px; font-size:15pt; font-weight:bold;" /></td>
      </tr>
      <tr>
        <td height="40"><div align="right" class="STYLE1">密&nbsp; 码：</div></td>
        <td height="40" colspan="2"><input type="password" name="password" id="password" style="height:25px; width:200px; font-size:15pt; font-weight:bold;" /></td>
      </tr>
      <tr>
        <td height="40">&nbsp;</td>
        <td height="40" colspan="2"><input type="submit" name="sub" value="" style="width:130px; height:30px; background-image:url(${pageContext.request.contextPath}/images/admin_login_button.png); border:0; background-color: transparent; "/></td>
      </tr>
    </table>
  </form>
</div>

</body>
</html>